package pl.edu.uj.ii.battleships.models;

import java.util.ArrayList;

public class Ship {
	
	public enum Type {
		TWOMAST,
		THREEMAST,
		FOURMAST,
		FIVEMAST
	}
	
	private boolean placedOnBoard = false;
	private boolean placingInProgress = false;
	private ArrayList<Integer> positions = new ArrayList<Integer>();
	Type shipType;
	
	public Ship(Type type) {
		shipType = type;
	}

	public boolean isPlacedOnBoard() {
		return placedOnBoard;
	}

	public void setPlacedOnBoard(boolean placedOnBoard) {
		this.placedOnBoard = placedOnBoard;
	}

	public boolean isPlacingInProgress() {
		return placingInProgress;
	}

	public void setPlacingInProgress(boolean placingInProgress) {
		this.placingInProgress = placingInProgress;
	}

	public ArrayList<Integer> getPositions() {
		return positions;
	}

	public void setPositions(ArrayList<Integer> positions) {
		this.positions = positions;
	}

}
